import Vue from 'vue'
import App from './App'
import store from './store'

import util from '@/utils/util'
import '@/utils/filter'
Vue.prototype.$store = store
Vue.prototype.$util = util

import '@/common/css/common.scss'
import '@/common/css/style.vue.scss'
import '@/common/css/public.scss'

import baseMixin from '@/common/js/baseMixin.js'
Vue.mixin(baseMixin)

import authTip from './components/authTip/authTip.vue'
Vue.component('components',authTip)

// import { baseImgUrl } from '@/common/js/config'
// store.commit('setBaseImgUrl',baseImgUrl)
// Vue.prototype.$baseImgUrl = baseImgUrl // 小程序不支持直接在标签引用

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
	...App
})
app.$mount()
